newTrick() resets progState. added getProgState() modified adjState