Move Screensaver and AutoRefresh testing to beginning of script.  Allowing return to original settings in event of a script crash.