move window properties in their own lib