Various fixups, leaving a crash on dialog close to resolve.
Delegate treemodel ownership to DifficultyEditor, it's ok in this case.