Fixed a couple residual issues in onMouseClick (thanks _123DMWM). Continued cleanup on the input system. Moved all input-handling code out of tick() into handleInput() method.
Merge pull request #209 from fragmer/master

Fixed a couple residual issues in onMouseClick (thanks _123DMWM).