Set up a proper logging handler to output text files.  Also added the ability to load passwords from a text file.