Error page, google analytics, and other fixes

Error page, google analytics, and other fixes