Improved support for QTI tables; support for grids of unusual size