Fixed encoding of parameters; encoding a redirect url will properly include the query string that it should have as well.
Also updated the one.app sample applications to remember last viewed screen.... this is to facilitate showing how switching orgs won't lose what you were working on.