Palette selection functional, cwd setting works

Can now select palette from menu and apply to all windows,
and new windows will open to the same directory as the
parent window.