LED gets stuck after three or so loops. Trying to fix that now.