fixed formatting
removed debug cruft from main.cc