Improved error handling for communication problems. Update metadata dialog shown with frame.