Castle of the Underdogs : Episode 1: Small debug patch

No meaningful changes made, just added debug code to improve my chances to find a crash I've been searching for a while.