fixed some getopt matching, still doesn't compile :( - diagnosit::emit changed aswell..
fixed some more errors
fixed compile errors - passed blank emitter trait object