edits render loop for profiling

this adds a couple of flags for profiling in chrome