Added .gitignore, with weightbot csv file and *.log ignored
Minor bugfixes and cleanup

- Make $home default to $ENV{HOME}
- More debug output when active
- Slight modernization of syntax
- Skip the first (header) line of weightbot csv