TrigOutputHandling: Fix typos, documentation and messages
No functionality change, only fixing typos, documentation comments and strings, messages, histogram labels. Also removing some small bits of commented-out code. Improves readability and searchability of the code in this crucial package.