Merge pull request #1 from SupSuper/master

Backporting
fix falling path preview
UI fixes
fix drag scrolling with black borders
Fix Linux build
Fix memory leaks
Fix compiler
fix mapdataset unloading
get a reference instead of making a new
actually, that stuff shouldn't be needed now either

since we're no longer deleting
Merge remote-tracking branch 'upstream/master'

Backport.
fix textlist colours messing up

although they disappear for a frame when the selector gets resized...
figuring out why is beyond me.
fix battlestate deletion
fix stat bar flicker on power source explosions
don't try to save UFO missions in new battle
fix throw math

(double)(int / int) vs (double / double)
fix destructor order

save before rules (allow for unloading of data)
Merge pull request #842 from MadAnd/master

Ukrainian translation for Windows installer
Language update
UI fixes