Deleting some now unneeded code.
Significant optimization of update_objects.
Fixed bug.
Fixed broken AI and stairs. Also some cleanup.