Fixed the deepApply function so that the shown_only parameter is no longer ignored. refs #844
Widgets and all childs will be, at the slightest occasion, added/removed to/from the manager.
Added more comments.