added frame rate to window