Debug msg when port shuts down.  Include optical emulator in release.