Can set the global variables for the VM in the c code. Can get global variable changes from the vm. Can set the lights. Currently lights are only updated on the gui after the execution has finished.