Clear central panel correctly. Minor template changes.