Other code will eventually move out of armature editor (to help reuse). This solves the issue reported by Cambo on the ml about kernel code calling editor functions.