Fixed remote shutdown command. #317

Not sure what went wrong here, but the suddenly the arg parsing seemed to loosen it's rules a bit.  Also, the thread for the shutdown listener didn't seem to want to start in the location where it was.