Disable scaling with factor 1.
Use exe location for datadir on Windows.
Fixes to executable location determination.
Library fixes for data directory location.