Major cleanup of object loading code. Map now loads its own tiles in a more reusable way.