Added license to top of editor.cpp