Game.exit() and tile searching

* The game can be closed by calling exit(). This cleans up the sound
system and releases resources, as well as disposing the window and
stopping the update loop. Own threads must be ended manually.
* Coordinates for specific tile codes can be gathered by a scan function
in the TiledLevel class.