Fixed crash caused by no RPi connection

Fixes issue #39.  Note to self: don't commit code at 1am... it can wait
for the next day.