Fixed another last-minute issue with the flashlight code. It wasn't winding down properly and there was no delay after it turned off.