Added a map, replaced mousePos object with mouseX, mouseY. Fixed minor bugs. Starting to implement pathfinder.