Added some global config.
Added a float version of renderSize
Changed some stuff over to the global config.