added additional window properties - thanks MassIV for suggestions