clearing ImVariousComponents from memory