Implemented map methods and added DebugTile texture.