[engine] Fix dependency typos.
[webui] Add more verbose output to debug resource statistics issue.