Added frame rate limiter - also a counter, but that's commented out