added error handling, log files, and user feedback on program progress.