A separate commit where libgd is added to cut-n-paste. libgd is used for the bookshelf view of recent documents.