Add ConfirmPendingcompletion functions in gpgsmanager. and fixed players init.