mostly minor changes, but fixed pdf char encoding issue (I think) by setting a parameter in htmlentities filter for utf8
small modifications to unify the user interface. Added links to main.php