Threading protections fixes

Server logging improvements