Fixes for libs dialog

Plus, minor favorites bug fix