got framratecounter working