use upcase for general expectedness and consistency

I'm accessing FACEBOOK etc. env vars in uppercase, too.
update help text
make --pid work without a command
log pid for concurrency safety
make "~" at end of line officially possible