fix fatal errors on codeeditor registration

you can deregister gscodeeditor and everything works fine, ideally you
would be able to then insert your own codeeditor script