fix Crashes Xcode when used while Version Editor pane is selected

use applescript to open todo item if it's in version compare mode,  close #8