F: Improved UI rendering and validation