Don't declare PerformFunc extern "C"
Downcast Synth to Reference before passing to plugin

Fixes #22
Remove stale code
Comment out unused parameters