Added real-time loop tasks to engine

This lets other loop tasks reference deltaMs independent of the engine speed modifier.

An example would be a HUD animation that shouldn't be affected by the lighting system effects.