Remove cruft from main.c