added doctype, fixed double uri encoding on page reload, added favicon loading