Fixed those goddamn editor memory leaks once and for all!