Fix some minor fix in GUI demo