Commented parts of main.c; fixed compile error