Some Thruk tuning, some memory leak voodoo