cleared before entering the viewer main loop, this removes memorymanager a reported memory leak due to the viewer using exit() which bypasses the clean up on main itself. Added an osgNew to the ReaderWriterRGB.cpp to aid detected of tracking of memory leaks.