Added failure to error message when testing server connection
Removed nullpointer when exiting preferences and testing server configuration
Merge pull request #25 from sammy98/master

Errorhandling improved and removed nullpointer