GA improvements, memory leaks fixed