Added control if avrdude is in use by another thread in functions doflash, doflashWithProgrammer, flashBootloader.
Merge branch 'bug-fixing' of github.com:codebendercc/npapiPlugins into bug-fixing