fixed populate so that it would take a callback, changed setup so that it would wait until the right number of bookmarks are added before calling done().