Simplified error handling code in process_world(...).