Fixed bug in framerate control and added idle time indicator on display.