Fully functioning.

Made some fixes to the flashing and the double-on state.