you're best off justing using reset for each panel

function restart(){
set(pnl_main, SHOW);
reset(pnl_this, SHOW);
reset(pnl_that, SHOW);
reset(pnl_other, SHOW);
}

then triggering this at the start, and set any positions, values, digits that need ot be set inside this function