should_exit method is replaced for the iced::window::close() command at the main.rs level. iced_native::Event message handling is not anymore required in the sub states of the iced application.