WinDev/Lib/Console: Fix 'WriteHex' to remove unnecessary zeros, some minor fixes.