Switched from tikz to tex for speed reasons. Working.
Hooks and other improvements for secfile. Working.
Fixed cr bug in tiks tables.