bugfix: shift/reset should respect dynamic environments
bugfix: shift/reset should respect dynamic environments

omasanori/picrin,dcurrie/picrin,picrin-scheme/picrin,omasanori/picrin,picrin-scheme/picrin,dcurrie/picrin