[Scripting] Fixed some issues with the assembler. Finished vm, untested.