Fixed bug which caused the program to crash if you were selecting the background regions for the first time. Removed some debugging plotting from the spline fitting function