Flexible game loop manager.