Fixed some bugs so now it will record and playback, polished the toggle LEDs, and cleaned up code.