Adjust Palette Pane

- Palette Pane is horizontally resizeable now
- Pre-select the selected palette item
- Also remove some unnecersary imports
- Save and load the last-selected palette