GUI; tried to set up exceptions handling;