changed window startup behavior