Added some stuffs

Added the ability for a program to load the value of one register into
another, and fixed a few things including the clearing of stack X (the
script stack).