Added some framechange limits, but is improvable very badly.