commented out mmfile stuff
fixed warnings in main.c