fixed .g handler
factored out simple command/responses
[sarah] change runtime error to parse error