Thanks for the feedback! I just added some fixes so that checkmating works and the inception no longer should freeze!
I've just come back to this, and it still freezes after winning a nested game. Checkmate works now though, but it froze while switching to the main game. (Board is slightly off-center, had to refresh page)