Properly handle exceptions when saving the game

Add message boxes when an exception occurs while loading or saving the game