Change fitting parameters to force one narrow and one wide gaussian
Fix bug where the threshold and fit minimum were flipped when callid islowbackground
Add debug messages to show which mode is running
Update unit tests to testing root file
Exit if file is not opened correctly