Added title property to Window
Various fixes