Made approval dialog work for real, stopped MainActivity showing up in history, improved UriHelper documentation