remove window in ActionWindow

to avoid crash when quit the viewer
some new files