Maybe some languages will need a global post-build hook.
Move everything to plugins.py. Correct a few minor goofs.