Grids are extracted as plugins to offer more flexibility.
Also includes various fix never merged in Matt repo and "normalize"
function drop.