refactor DemoRecorder

removes the mess currently caused by stringstream in the demo recorder and replaces it with a vector, also fixes vs compile by doing so