fixed a bug with mining that allowed worker to mine more regolith than it could hold and mine regolith to less than zero, also setting up the worker with action performed flags to make it easier to set worker rewards