Unify print_desc() & print_result() in print() and refactor ...

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>