multiple fixes and improvements, including port changes to allow use of imperial servers