File uploading using a file browser is working. The code is still ugly, but I'll get there eventually. Potential issue: drag and drop of files does not work if you are dragging from one browser window to another.