cleanup memory + minimize gl calls, no FBO for now