I have posted a new material script on my site. It will automaticaly add a default material as objects are created and can be applied to selections and to the scene. There are lots of options.
If you encounter any bugs please report them on the PEN forums.