Clean up logging and process some more message types

- Use a logging config to handle logging to file
- Now closes serial port on exit
- Process DF and A records