fixed stuff
Fixed Server only allowing on local loopback IP. Fixed an issue if the wrong directory was chosen.