Access the main window on Chrome instead of passing it to the constructor.
Allow the palette to be vertical or horizontal.
Add horizontal palette to the command map.