State definitions: I really need to which state is causing a bug in my code, but the magic wand tool doesnt seem to be working. Please help.