Implemented helper functions for view state and hierarchy debugging.
Adapted CompoundManualView to view.js implementing helper functions for view state and hierarchy debugging.