Fixing bugs in achievement and item handling.