fixes few null pointer errors, also closes #40
Merge branch 'master' of https://github.com/mattbrejza/rtty_modem