Restructured render code and began shadow mapping.

Render code is still very messy.
Implemented simple map editor.
Fixed WallSide mesh.