Frame rate function call

added it and turned it off in case we want to change from vsync.