Added a file_exists check on the site configuration file and made a minor change to the error handling
Added new PushState-safe routing functionality