Removed debug messages, and fixed top of collapsible block not rendering in some cases.