Changed communications port number to 1543.
Fixed potential major crash in server code