Fixed Bug

window would close after showing input error messages