0.1.0 extracted from replpad with added normal/insert mode events
switching to tap until trap has proper error details and stacktrace
completing normal mode tests and fixing bug in the process