Major improvements: timer interrupt; better flow; better SD use.