Fixes

Fix calling convention
Fix string handling
Fix boolean op