Worked on Mac mouse handling, replaced static global variables with constants