What problems do you see? Unless you give some detail, there's nothing I can do. I doubt if it's the popup, but you can turn the popup off if you want.
xretrace_cursor_steps_prev already exists - it's xretrace_cursor_steps - I would just have to figure out how to find what key it's bound to, probably not hard. What would xretrace_cursor_steps_next do when used from outside the event loop?
Graeme