fixed simple GUI demo