Fixed a bug that caused the script to crash if a packet from a BHTR968 wasn't recieved.
Added a 'fudge factor' to the hour and daily rainfall calculations to account for a little slop in the run times.
First pass at getting the on-the-fly processing to work.  This also includes more cleanup of the code by moving reused bits into their own modules.