addressed various compiler warnings
added renderpass flags for transformation and clearing
fixed renderpasses not setting framebuffer objects correctly
routed projection matrix to shaders