added qt gui elements
added more gui relevant code