Various updates, now also printing to screen, and using the configuration file.