Added error cases to controlPanelScreen