Added google analytics hooks.
Added global ERROR logger.
Started work on 404 and 500 pages.