terrain editor
fixed crash during shutdown