performance improved but massive memory leaks still unresolved