Remove unused force var to fix init force(force) warning.
Fix if assignment warning.
Merge pull request #129 from carsonmcdonald/warningfixes

Thanks; that dead code was supposed to go into another branch!

Fix a couple warnings