In the meantime I went on hacking on grig. Besides fixing the bugs mentioned last week I managed to finish the save/restore rig state functions. Currently, the state can only be loaded at runtime but I intend to add the possibility of loading .rig files from the command line as well. Furthermore, I have done some optimizations of the daemon process by not executing the command delay except when a given command has actually been executed.