Implemented tilemaps! Also shuffled around a lot of the code.

Not terribly happy with PhysicsObject at the moment; really do need to
rethink some of the organization.