Upgradeable machines no longer delete items from upgrade slot without ch...

...ecking remaining stack size. Fixes #69