Editor fixes

This fixes line endings in Editor.cpp and makes editor compile again.