Optimize libtorrent event handling to be more efficient for sessions with many torrents.
Optimize treeview render speed.