Fixed linux compile
Added GetArgumentCount to ScriptVM
Fixed some offsets