Fixed some parser and VM bugs.