added end/error event support to command-proxy-client
keyboard test fix