Update todo + fix potential dubble free on error + add support for --hex-input

Signed-off-by: Mattias Andrée <maandree@operamail.com>