remove unused UPnP code from main.h