Changed a bunch of stuff

Commented stuff
Changed the way tile highlighting works