[NRY] Cleans up main.c. Improves wifi code with "waiting" animation.

Are you using SysTick for the cc3k blink?