timer kill fixes, collision detection improvements

- fixed an issue where timers are not killed when game is restarted
- improved the collision-detection helpers (i.e. line-square collision
now works with rotated squares)