main.c commented. some beauty-fixes as well.
Comments fixed, beauty fixes, printf fixes.