Optimized run_until_satisfied(_2) and also introduced batch commits for reactor directory updates.
Made nap time a parameter to run_until_satisfied(_2). Also refactoring.
Refactoring and added a comment to explain the choice of the specific nap time.
Don't nap if nap time is 0.
Merge branch 'daniel_reactor_efficiency' into next