stray debugging
beginnings of getState() comprehensive state serialization