Some fixes.
Merge branch 'master' of https://github.com/BoardTools/upload