Style/formatting for get_all_users, docs, cleanup.

Good lord parts of this codebase look like someone just cranked them
out in a crazy, caffeine-filled fit of brilliance.  Comments? No.
Clever optimizations? Yes. Fixing those up bit by bit, so everyone
(including me) doesn't need an afternoon to know what's going on.