Fix search result filtering
Add timestamp
Complete compilation script
Finish the code behind the thread header