Add some code to catch the REINIT_STATE command. Includes debug print text for now.