Removed unused code, fixed a few buildings.