Added Device.init, basicInit, and getStatus.

Fixed an obscure and perhaps impossible bug in DevCmd:
userCmd would not be updated if devCmd started out finished.