updates to get monitor to use AppSettings for default port.