Multiple updates enhancing tables, referencing, folding, syntax highlighting

Will endeavour to rebase once I learn what that is :-)