Added try-catch for executing commands so if an exception is thrown during exception, it prevented future scripts from being executed
Textures can be loaded from lua via game.loadTexture.
Further testing required to make sure it works properly.