Minor changes to make it fully build
Some initial qt code