Minor.
Some incomplete work on latin square handling.
Some more work on latin square stuff.
Basic latin square functionality now working.