Improved show/hide mechanisms to properly deallocate objects.
This allows us to do more than one show/hide per session.