Fix config.php to actually catch database errors, along with some whitespace cleanup
Moving processor path to the config file and throwing an error during setup if its not writeable