Created preferences dialog and methods. SemGen defaults are now set from
this panel.
Made an icon for replacing a reference term.