primitive idle event handling
tool to measure FPS of various window sizes