First effort at putting intialization and cleanup actions in the new SGMXASScanActionController. These are fully implemented but not yet tested (I should do that when I'm a little more awake).