Updated the samples to display a more complex GUI