Added export feature to State/Transition table
Fixed bug output not resetting