Fixed writeSettingsNullPointerExceptionProblem
Merge branch 'tcp' of https://github.com/tkessels/publicMain.git into
tcp