Fixed all remaining UI memory leak.