Pulled in metatable stuff from s3_editor's GridViews, since it is part of the correctness of TabsHack()... *grumble*