Changed AMActionRunner behavior to allow for cancelling of invalid actions (scans) just before running. This led to some changes in AMScanAction and AMAppController where checks on the existence of scan->controller() is necessary.