Make deploy script more robust

Now stops on error, which also means C-c works to end it.
Cross-browser fixes for select-all button