Rename inputs/outputs to shorter, more meaningful names

And also fix a couple of minor nitpicks along the way.

Signed-off-by: Francis Galiegue <fgaliegue@gmail.com>