Minor changes
Added example for window creation