Fixed GUI-building mystery monster magic, that wasn't so hard.

No wonder it behaved so much like an infinite loop, huh? :)