Default to random, make board toroidal, style fixes