How to use Main *bmain?

Modifiers should not loop through all objects in the scene, only objects specified to it by the user. Dependencies on all used objects should also be added in updateDepsgraph.