fix #431, fix export cancels, and more debug prints
fixed #425
We handle .tox files (still need actual command line support)
fix compile warning, they are fatal to Qt Creator
Merge pull request #433 from dubslow/master

fix #431, fix export cancels, and more debug prints