Merge pull request #35 from sradomski/master

Fixed the 100% CPU utilization bug and replaced the bool() cast operator...
audio thread polling issue
crash in audio device close fixed
Merge pull request #36 from mathiasjohanson/master

not 100% cpu anymore and no crash on disconnect
Builds as plugins again