Added eventHandlers, added new methods for converting from map to canvas coordinates, and made the mouse hook global.