remove falsey values from arrays before startup generation
also generate icons