Optimizations, ms/frame counter