Added diagnostic panel.