issue #53 - completes changes for dynamic grid sizing (which required a bunch of other changes)