Update main.c

added some switches to allow LESS file output [+n] 
... and verbose [-q].
fixed some file not found issues