Fix of the crash on exit and localization

Hi Mauro...
I have fixed the crash on exit and implemented localization. Can't reproduce the missing menu items right now with the latest core and the internet connection detection works now as well, so will have to recheck back home where it didn't...

Pavel