Added function prefix in exceptions thrown in functions connect, disconnect, serialWrite, serialReader.
Updated doflash return values so that document.getElementById('plugin0').retVal returns the correct value.
Updated PluginConfig.cmake for version 1.6.1.0