fix Session to get a list of Windows, clean up empty properties