Qttest updates

Minor cleanup
Some expansions:
- use Julia event loop so it doesn't block
- add button with callback into a Julia function (slightly ugly right now, couldn't figure out how to make it one-line - see comments)