Changed the reboot to it's own function.
Changed some dialog to be more generic.