Deallocate user logs before thread exit, plugging big memory leak
Deallocate user logs before thread exit, plugging big memory leak

Also, made poll logging more efficient with respect to log size.

endplay/omniplay,endplay/omniplay,endplay/omniplay,endplay/omniplay,endplay/omniplay,endplay/omniplay,endplay/omniplay,endplay/omniplay