Fix preferences file path in preferences window
Merge pull request #2810 from federicobond/fix-preferences-path

Fix preferences file path in preferences window
misc cleaning activities
Replace Thread with invokeLater in PreferencesFrame
Merge pull request #2811 from federicobond/preferences-fix

Replace Thread with invokeLater in PreferencesFrame
added windows 64 bit support and made platform specific library loader.