Fixed debug window close crashing issue for miabot tracking node.