CGE2: Implement functions connected to inventory handling.

Also move closePocket() closer to the others and fix the stub message in busy().