added more code to updating the step messages. still a race condition and the reader doesn't always exit.