Updated code to remove extraneous features (fbo writing, etc.) which have been preserved in git history.