arduino close is nicer when never opened.

the usleep and termios functions arent
called when the arduino device was never
opened. This speeds things up when we
get errors.

Small changes to shell.