Set default value for badge color.
Removed obsolete checkbox for active flag.
Fixed code style.
Several changes to bring this project to a preliminary close.