Fixed a bug with admin button. Added giant switchcase for problem viewing with errors...needs to be a bit better thought out though...