from osgviewer example into osg::ArgumentParser and osgViewer::Viewer to make them more universally available.