Okay so I made a really cool game loop. Expand for more.
Basically, what it does is take a number of different event handlers for different periods. You can say, 'on 30s do this' and 'on 100ms do this' and it figures out the best interval to use in that case, then you can start it. It probably is a little bit buggy but it works. Sweet, non?