Plugin manager

Add checkboxes to plugin list view to select several at once to load or unload
What does "sb" mean? The following line will not be be called if widget is true, not sure it if it's safe? why not including it in the if as well?