I hope you will kick away this bad habit of chatting on your Mac while you are studying or doing your homework. This will distract you from your studies and will affect your results. If you continue this, it might get worse and so it might start to gaming addiction. I advice you to work out a schedule or timetable to plan your working and relaxing time. At least this will help you in your study planning, or maybe you can also use the time to just do more meaningful activities.