Refactor connect to MSPeakTable and MSProcessingWnd