Fix hang when clicking "Power on" and hang when clicking "reset" if not connected to a printer.  Prevent some error from appearing in the error log twice.