better tab notifications
commenting and refactoring