'Create and return our toolbar frame.'

def createToolbar(self):

    toolbar = Frame(self)
    for tool in self.tools:
        cmd = (lambda t=tool: self.activate(t))
        b = Button(toolbar, text=tool, font=self.smallFont, command=cmd)
        if (tool in self.images):
            b.config(height=35, image=self.images[tool])
            self.createToolTip(b, str(tool))
        b.pack(fill='x')
        self.buttons[tool] = b
    self.activate(self.tools[0])
    Label(toolbar, text='').pack()
    for (cmd, color) in [('Stop', 'darkRed'), ('Run', 'darkGreen')]:
        doCmd = getattr(self, ('do' + cmd))
        b = Button(toolbar, text=cmd, font=self.smallFont, fg=color, command=doCmd)
        b.pack(fill='x', side='bottom')
    return toolbar
