Fix the badge system by listening on tab events. fixes #14
Clean up old notification code
Replace console.log by console.error
Bump version number