bugfix for gridcontainer, and some expansion of the basecontainer specification