Cleaned up man_decode.c a bit and add some more comments