v.0.8.2 • reformat main() and better exception handling