Minor fixes.

Fix RandomGrid.__is_connected() (partially, it's actually broken, I think).
Fix classifying nothing as connected (big oops!)
Merge branch 'fix-whats-gone-wrong-OH-GOD'