Fixed white space in main.c
Cleaned up main some