Fix editor compiler errors