Adding ability to select map tiles.
Adding global event manager
Merged with Matt's fork