! how did those old dogs get missed

Signed-off-by: Spuds <spuds@spudsdesign.com>
! set up the editor call as a function for addon reuse

Signed-off-by: Spuds <spuds@spudsdesign.com>
! unused global

Signed-off-by: Spuds <spuds@spudsdesign.com>
Merge pull request #1540 from Spuds/other

Change editor init to a function