Added functionality to static GUI demo.