serverxbrowser creates a thread to open the webbrowser while the webserver runs inside the main loop.