Port map only after the listening port has been set.\Moved port mapping inside MarketApplication object to keep reference to upnp.PortMapper so portmap cleanup can be called on shutdown.