Adds some minor extensions and fixes to TeraEd.