Lot's of improvements to link literals, and new app flow logic