Detect bad frames
Store original frame
UI no echo
Merge remote-tracking branch 'origin' into dev
Remove debug prints.
Fix typo returning error responses.

The exception case never actually returns an error because it
goes to the exception handler instead, which tries to shut down
the server, but this makes the 'unknown action' case work.
Log invalid action requests.