Cleaned up debug printf's by adding a couple new independent loggers.
Split out instance retrieval needed in ReregisterInstance() into new functions GetInstance() and readInstanceInto()
Small change to readAppInto() to match simpler form in readInstanceInto()