Demo widgets and style switching code