Sample usage of guibuttons and minor fix