Changed the way reboot/shutdown pages start counter (onload never triggers in some browsers)
Small typo fix