scene editor refactored