add an autoload function for outputting the current openfl/nme target (if available)
change the naming of the bufwrite_events global switch, and add one for writing compiler output.
doc changes for the bufwrite/compiler output global variables