add a counter window.
modify sheet_refreshsub, add param h0.