this brings us from 35 down to 8 function calls per file initalization
1: fix #1172 part 3 2: fix sort-by-progress reported by tziOm 3. fix preferences dialog typo