added xterm command which sets xterm title
fixed bug where maxinet was not shut down correctly