renderer improvements, popup menu destructor fix