Added selections and cursor changes to Library