More work on Qt GUI