added most non-gui instructions
implemented sprite instruc and basic event handling
coded all instructions (not tested)
fixed stack bug