Added locks on accessing snapshot in World Model class.
Removed unused code.