Made the gametab constants and openTab external.