Various small fixes to CookieBakery.cs + added lock to method buyCookie (<- renamed from checkForCookie)
Merge