Better widget and window demo