Added rudimentary collectibles (things they affect need to be implemented first).
Fixed a rare issue where the dog was unable to see the player if the player was in the wrong z-layer.