made everyting ready for showing errormessage in curses screen