sweet baby jesus. fixed nil issue

all print statements and DB won't work, but looks good
Merge branch 'master' of github.com:rdallman/dropbit