Added a framerate diagnostics panel.