add fps counter to titlebar