Added locking to the HUD manager for tracking/storing hud state.

The GLGrid now has all the information it needs to determine the color
for a tile.
Still have to implement it.