Support add-on removal/disabling, and a few fixes/cleanups.
Add a basic makefile.