Added checks for synth instance creation.
Show error message instead of segfault.
Removed compiler warnings.
Added support for new lv2 atom forge api.