Moved stillRunning and inputState into NCCmd.  Create an NCCmd object in
main and pass it to NCCommandHandler