Backported updater

Backported self-update function from 2.1-SNAPSHOT to 2.0, will automatically update if installed to ~/.rlw
Fixed a few typos
depcheck should run in a reasonable order
Made some syntax prettier.