core: improve config error handling #5
Abort the start early, if the config file is erronous or not found. This avoids crashing the gui, improving error messages. Also, the working directory is changed to the parent dir of the config file, allowing relative paths inside the config file.