Added interword detection and LED flashing