Not leaking template() internal variables
Fixed spacing for button bar events
Minor refactor
Isolated tab visiting code into an object
Completely refactored and isolated tabVisitor code