Restructured arcini.js:
 - All returns are ext_val:int_val.
Removed unused functions