moved restoreEntryOrNull to util.js.  promisized getDisplayPathOrNull
promisized getTimeStampOrNull and added done() in a few more places that needed.  I think every function that creates a promise and doesn't return it should call done.