Error Handling Re-visited

FINALLY got rid of those annoying die() statements, and found/fixed a
few more minor bugs, mainly in the word sensor and upload scripts, but
also in other places, too.