Removed the Tilemap class and moved all of its functionality and features to the Level class. This greatly improved performance.