employed the visibilitychange event to detect if the current tab is active/hidden.
some bug fixes.
added unvoted tab notification.