I think this should be changed by `if (ThreadUI.inEditMode)`