Implemented hide/show for views. Added events. Cleanups.