Small modifications to the code

Reading from cfg now works. The program doesn't pop up for a SoF
location any more. Not sure where / how to move on, but most likely,
locationstuff will be held only at the settings window, not forcing the
user to set it him/herself.