Thanks for playing! I have played Dicey Dungeons, though I had to look it up to remember exactly how it worked (apparently I 100%'d it on Steam though, so enjoyed it very much =). _None Shall Pass_ (board game playable on BoardGameArena) was my main inspiration for this, but there's a lot of good ideas in Dicey Dungeons that would perhaps blend well here too =). Sanity was a bit tacked on, and was originally planned as a resource to limit reaching the next safe area with respawning monsters, but then balancing XP and player levels with respawning monsters sounded problematic, and my goal of many combats having 1-2 deaths didn't mesh with anything other than complete health restore between combats (with the low health numbers, if anyone wasn't healed it seemed the chance for a party wipe skyrocketed), so really only the "max sanity" became relevant (which, if you were playing really well, you may not have even noticed was going down ^_^). We also had a *ton* of cool ideas for visual affects to apply as you started getting insane, but that simply didn't make the cut (it was either that or a day of polish, and polish trumps all ;).
Interesting bug! I bet that only happens in browsers that suspend the tab when in the background (which I have disabled because it makes debugging really painful ^_^), and I should be able to reproduce and fix it pretty easy, thanks for reporting!