Clear blockly on reset and switch scenario

When jumping scenarios or restarting the game using the pause menu, the blockly workspace is cleared, closed, and the active blockly tab is reset.