Make port configurable rather than static

Still in GlobalVars.py though... should fix that.