Refactored love-o-meter code (and subsequently realised that Arduino sketches have a 32,256 byte size limit)