fixing a few typos and rearranging the container init to avoid import error, gridcontainer much improved