GUI stuff

Made some changes to the dialogue GUI, but these changes will be able to
be used in pretty much any other editor script.  Not really any visible
changes.