Cleaned up a few things in code. Also, it displays hitboxes! Well, green rectangles of some sort. Not entirely sure if they are hitboxes, but it seems to be so for most things. The player's rectangle isn't a hitbox, it seems.
Still gets the same false positives for lair information. Aside from added boxes and some code cleaning for (hopefully) easier maintenance, it's largely the same as the previous script.