Some global, last resort exception handling to make things safe in case of a really unexpected exception