Fixed average counter.
Merge pull request #27 from spilgames/#26-add-average-fps-counter

Fixed average counter.