Guanako: Make it more thread-safe.

 * Lock context on public read/write operations.