library fixes
initial LibraryEditor code