Undo close window implemented.
Licence system added.
File chooset preview added.
close all but selected functionality added