Changed the toolbar object ot make use of the prototype object.