Implemented str_token. Added JWASM compatibility. Numerous tweaks.