Major fixes.

Signed-off-by: Stéphane Galland <galland@arakhne.org>