Unify the debug messages between actionhelper and menutracker, and add some more context to some of them.