Fixed up an incorrect parent/layout issue in AMControlInfoListTableView and also added code to delete the allocated QTableWidgetItems. Fixed a memory leak in AMRunSelected where the itemDelegate_ and newRunDialog_ were not getting cleaned up (now in the desctructor). Fixed up a memory leak in AMScan with regard to an AMScanDictionary. I think the dictionary might still be in use, that's why I didn't remove it entirely.