Ensure the header does not have a trailing tab character to allow
comparison to any existing header (ImageJ removes trailing whitespace)
when creating a new window.
Added option to show the fitted function when not fitting as single
peaks