Code cleanup and better default values.

Signed-off-by: Piment Noir Task Force <elecdev@piment-noir.org>