Prevent multiple instances of the GUI from running. Closes #19.