starting windowed mode