Example application to get used on threading and gui programming