immediate editor
draft of local editor (copy of original source code to hack some default behaviours)