fixed segfault, uncaught exception, memory leak in Source/Monochromator
Recent change in Source (replacing single monochromator with vector of monochromators) introduced a GUI segfault, several uncaught exceptions, and a potential memory leak. The problems that I am aware of have been fixed in this branch.