Fixed various small things. Added some comments. Renderer still not working.