Refs #4166. Initialize isNew.

This caused problems in Windows, as apparently default value was different,
and is safer in general.
Merge branch 'feature/4166_plot_spectrum_window_param' into develop