Added debug statement and shows state in browser

Fixed minor bug in the handling of the form data. Checks the appropriate
radio button when the page is loaded. Now outputs when the server is
running.