Moved JOptionMessagePane calls to GUI class

took them out of parser class