s/$ref/$log_reference/ for clarity.
Changing home link on error page to links to main site functions.