Labyrinth: The Wizard's Cat: Minor optimizations

Minor optimizations