fps counter, rudimentary pause function