Don't make a shared lib -- allow it to be statically linked
Add target for development build
Fix issue with buffer not growing when needed
Add debug statements & additional error checking