Some Cuss fixes, terrain editor is almost done