This uelog.addEvent thingy is blocking, if you want to improve the non-blockyness of Tribler we should wrap this in a do_db() method which we can @forcedbthread