make definition bodies styling more complete, improve titleblocks.
fix links and reference links

should fix problems noticed about reference links in issue #17.