added basic render mode switching system