Final step in successfully obtaining a frozen webserver.

Cleaning up and refactoring to go, but it works now.