load/save variables working, added some plans for state & system event parsing