Added routine to remove blinking steps and other small fixes