Message queue example with GTK UI in ubuntu (Code in code block)