Cleanup of some UI elements.