1. Update TODO list
2. Complete handle-results thread.
Fix build errors