Window creation, config improvements.