fix inspect and added some comments
fixes to UIAppearance so that 'when_contained_in' settings are kept separate