Cleanup of main executable name.
Handling of proper unions and empty unions ('fake' ones.)