Made the function to flash the scroll lock LED as an alarm indicator more robust.