validity checking / bugfix

Improved validity checking in the server config page
added moving the stdout file out of the way for the web server