Better remove from pile + updates listItems

I recreated the real removal process EA uses to clear the trade pile. Tested and working. relistItems includes that change. I've also fixed a foreach error within listItems.