Some small improvements to the grammars.
Initial version of a Swing editor component for the grammars.