cleaned up coding style of main.cpp for consistency and 6s096 standards