main.c: Misc. cleanups

- Remove duplicate includes
- Converted all tabs to spaces