Added MaxFPS as a parameter in the config file