Deleted original input files
Fixed window shutdown