more work on util and level

- fixed some typos in the level switching algorithm
- added viewport transformation to Entity drawing
- added click-able level items (using a default range for now, what
about a range property for each item?)