Run sim in a tighter loop when in not rendering

Makes the sim run about 2-3x faster as a 1ms interval is not as performant as a loop.