Fix minor errors. Fix #1666
Merge branch 'develop' of git://github.com/clinton-hall/CouchPotatoServer into clinton-hall-develop
Lowercase variables