PTM_U: Use an extern variable instead of a setting for the GetShellState output value