Cleaned up code in progress-bar.c and seeds.c