Actually is there a reason for defining this separate variable?  It looks like it's only used for nextPersistedUIPort