Wrap exceptions from C++. Properly expose RNG used for dungeon generation.