Added ability to record data from a given state by appending into a file, using the XGrafix "Dump" functionality.