Tweaked logging of commands written to actors.
Improved DeviceWrapper._basicClose