example GUI with threads (to remove later)
work in progress