refactor; only one editor icon per entity - closes #346
fixed snap to terrain