Added q to quit and framerate now prints to the terminal