Fix bug in overlay cache
Fix some accidentally pasted text
Improved debugging & memory dump