Fix high CPU usage on MSW with emulator
Merge pull request #44 from nohal/master

Fix string formatting to build on Linux.
I18n work, rework button sizing and i18n texts.
Merge nohal work
i18n for OS X and Linux
Linux lint
i18n prep for crowdin
Fix broken label for Guard zone 2
Fix memory corruption (caused by i18n)
Change magnitude of downsampling to be 2^downsample.

Extreme downsampling shows there is still a drawing error.
Fix last remaining display issues

Extreme downsampling showed where the code still had some bugs. It could
draw some overlapped trapeziums and it calculated the width wrong.

Still allow oversampling to 8 (= 256 spokes) but in practice 4-5 is the upper
limit.
Target separation, not target boost, is a 4g feature only.
Linux i18n
Fix issue #42: Guard zone display in selected units
Fix #46 - change preferences dialog to modal.
Fix #48 by using BestSize() as well.
Fix #47. Fix #49.

Also do various valgrind issues.

strerror() gives issues on Linux, remove calls to it for now until we do something better.
i18n sync
Remove debugging statements
Fix #50: Scan for interfaces when no fresh data.

This also improves usability on Linux and OS X as it is no longer necessary to set an interface in the ini file.
Keep radar version state after edit action.