More restrictive tables

* Table header cells can only contain text
* priorNonWS() has been replaced with directly comparing the ID of the prior token.