Cast mouse coordinates to int to make code more clear.
Change OS X target architectures to those supported in 10.9.
Import changes from Live Studio Sessions.