* adjust setOuterBox and hidden debugwin.