Cleanup
Brought up to speed with the LateralGM version, moved several actions into methods so that things such as cut(), copy(), and paste() can work properly in an editor that uses tabbed JoshEdit panels.