added -cancel
further updates
colors!
fixing double fclose