cleaned up some more, added another message to print_friendlist()
implemented the -f argument, and cleaned up main() and load_key()