added CreateWindow with default arguments