Made useMapBufferRange shared.
Made keysState shared.