Stop talking to server if plan save fails.  Allow disabling of sample output.

Stop talking to server if plan save fails.  Allow disabling of sample output.