accept functions as fectory in registerNavigationWidgetFactory function
add dumpPluginManagerObjects and dumpCommands functions