more portable fpsmeter class