removed debugging code when reading dump
added some sane debugging mechanic

Hope its not too intrusive