mozPaintCount starts at zero: assert its existence by testing against undefined instead of null
Use local redefinitions of request/cancelAnimationFrame instead of inserting Shim at window level
Return the method used to evaluate fps as a parameter of the FPS event
Removed obsolete variable
Added a parameter to set the rate at which fps events are emitted, and (slightly) improved accuracy
Modified termination code
Updated README
Merge branch 'master' of https://github.com/kaizouman/fpsmeter into gh-pages
Average FPS on half a second instead of one second