fbo rendering and various other changes