Simplify window creation
Simplify constructor