Add lock so handlers can't send any messages before GameEnvironment is
set.