Changed timeout to trigger only when the page is in the background.
Added tooltips. Changed alerts to use bootstrap alerts
Corrected auto lock alert.