Table fixes:

* Links to things further down in the document are now resolved since need_rerun is enabled.
* Better looking css for tables
* Better loggin in varsub