fix multiple grids line break issue, closes #31

Don't bother verifying on 2.7, just care about 3.x.
merge branch 'issue31' into devel