Add inventory GUI and sync code.