saving properties window state when changed

to not lose it on an unclean exit
Merge pull request #2309 from john-peterson/save3

saving properties window state when changed
Fix incomplete commit 94ae9544d. Thanks @pmzqla for noticing and helping.
Don't block peers that use privileged ports.
Use the 'fastest_upload' setting as seed choking algorithm.