Bug Fix

Fixed a bug: If you ran analysis code from the main menu it would open
up multiple instances of the program.