Refactored the different rendermodes into 1 massive render-loop-loop-loop