Added confirmation dialog when overwriting exported palettes, remembers last used palette when opening app, other minor changes