Use correct msg send function to fix segfault.
Fix more obj-c method calls.
Merge pull request #47 from glennw/fix-segfault

Use correct msg send function to fix segfault.