clean up ErlangEditor