Added tests for panel closure. Need to fix a bug that causes one of the tests to fail.
Fixed bug in panel title. Simplified construction of summary area.