ppb_url_util_dev_get_plugin_instance_url: use the same var for instance url
ppb_url_util_dev_get_document_url: determine document url once
trace: print remaining variable list
trace: print reference count of object variables