#2830: When library directory is changed, a new LibrayMonitor object is installed and the old one is closed.