BrushingInterpreter: lastEvent is a copy, not a reference, and other minor fixes.