adding a null or non-undoable action to a transaction throws ArgumentError

step towards #4