started integration with the visualization application, added the info struct, which will be saved to the disk along with the data events.
fixed saving of event data, using string was a rather uninformed
choice, also fixed LUA stack overflow error on longer simulations, by
clearing the stack whenever an event is received.