made it so the debug console saves history even if you close the game and reopen it