added frame limiter for faster machines