- Improved detect completefunc behavior.
- Improved lock behavior.