Multiple fixes.

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