documentportal: print warnings when document portal fails to initialize
documentportal: print warnings when document portal fails to initialize

Instead of siletly failing or calling a method on a NULL instance.

johne53/MB3Glib,johne53/MB3Glib,johne53/MB3Glib,endlessm/glib,endlessm/glib,endlessm/glib,johne53/MB3Glib,endlessm/glib,endlessm/glib,johne53/MB3Glib,johne53/MB3Glib