Added null-catchers on GrammarEditorPanel.java; lexicon editor now loads parts of speech in a way similar to buttonpanel