fixed hopefully all GUI memory leaks!