Improved user feedback and bug fixes for the upload tool.

Better, more informative (but still primitive) user feedback upon upload
completion.  Also fixed a couple of pesky bugs in the JavaScript.