Fixes, Chest Dispense

We fixed some bugs and refined the utility system. We also added the old
Chest Dispense function.