Mining

Couple of bugs on moving to inventory, haven't uploaded that part.