added a whole schwack of things: tiles, key listeners and some other things... it's late