Creation of windows is now undonable - work in progress