More exception handling & logger finaliser.