Unwanted Webview tab and Tktinker Window crash

Question: My tktinker window keeps failing to load and a random webview tab keeps popping up saying: “We ran into an internal error. The repl didn’t wake up in time. Please try again in 30 seconds.”
Yet this never resolves and the window will not go away. I didnt change anything with the tktinker code so I am not sure if this is something I caused or if its a replit issue?

Repl link: https://replit.com/@SERPTA/PTAFormatinator

code snippet