Track autoflush

Track workunits now flush their mpc lines as they are generated.

This should allow the user to accept some of the sources, quit the application, rename the mpc file to .track, and re-run the process as a workaround until this is automated within the application.