Also, there was another bug that I didn't report yet, but I think you fixed it now, or atleast the way you wrote the code fixed it by itself.
The glitch was: When opening the compendium, sometimes the screen would become pink. When closing the compendium again, it would become normal color again.
I thought someone else already reported it, so I didn't.