Implemented grid layout. Need to add delegate window update call. Discovered bug in vertical ordering, see #3