Added option to build something other then the editor and fixed a problem that was causing the editor to segfault