Add support for multiple simultaneous grids

Uses new option format for setting grid dimensions, all remaining
arguments formated such as '4x4'.