win.getActualFrameRate and some cosmetic changes