I made some changes to classify_nonstatics.pl, resulting in more than doubled performance. The time spent in this script is down to ~40 minutes (from ~105). That should move the total processing time from 4 hours to about 3 hours (all on my Celeron 400)
Please note that classify_nonstatics.pl may need up to 90MB of RAM at peak time (60MB minimum). Without that the good performance wouldn't be possible.