Fixes bug #76 by changing the method of retrieving the user's submission ID. Instead of polling the document url after an arbitrary time and hoping the URL is updated correctly, we now send a message to the service worker/chrome API to listen on URL changes. Consequently, uploads are now much faster without the arbitrary delay.
Also updates error messaging to be more descriptive.
Fixes bug #76 by changing the method of retrieving the user's submission ID. Instead of polling the document url after an arbitrary time and hoping the URL is updated correctly, we now send a message to the service worker/chrome API to listen on URL changes. Consequently, uploads are now much faster without the arbitrary delay.
Also updates error messaging to be more descriptive.