Fixed a few problems. Web server can run again.