changed FBO to a pointer and added switch for LIVE vs TEST modes