Use separate timer loops for rendering and emulation.

This allows the rendering and emulation to happen at different frequencies. Additionally, adds a menu to change the rendering FPS.