Fixed #33 "NPE during initial configuration"

* prevented potential NPE
* added dialog box for sonar connection errors

Issues: #33
Fixed #33 "NPE during initial configuration"

* removed unnecessary whitespace

Issues: #33
Merge pull request #34 from aheusingfeld/master

Fix for #33