Refactored the toolbar to make use of prototypical inheritance. Mendel, eat your heart out.