fixes listings, fixes image, added example in document, table of listing / figures