Added a --user argument.
Cleaned up the GPG password file handling.
Fixed some bugs in the argument parsing.