Implement various additional wire protocol commands.

Logging
Orientation
Equals
ActiveElement
Touch events