Added TODO. Clicking on cancel when opening file no longer crashes the program. Clicking cancel when parsing is running no longer crashes the program.