Library and editor improvements