Re-enable UI even in case of exceptions during generation (otherwise all UI remains disabled)
Fixed a case in which collections values could be empty during generation