Update readme, catch all exceptions and log in main.