Fixed some inventory movement issues in the exexution code and in various blocks