hid code editor tab when editing a doc

The single tab was sad and lonely. Left all
the JS around, though, for when Feild Editor
decides to rejoin Code Editor.