format AndroidManifest and add some docs to the Auth system
add key export menu option

this isn't the most usable thing, as the "secret key" checkbox
is sort of confusing, but it's good enough for now.
fix crash when rotating the screen