Added version checking in Textgrid.__init__()