Fixed item skipping / Altered global var names

The loop within Pitfall::search() was trapping the skip terms so that even if it matched, the item would be considered okay. This works as intended now.