Updated to latest mruby
Add some error checking.