window: Drop some old debug code