Code cleaning and configurable shortcut for popup palette

1. Added Toggle palette option to menu.
2. Added CmdTogglePalette=C to kb.ini
3. Color changes dynamically, not after closing the palette.
4. Palette coordinates are not restricted to scribble's area -> code reduced.
5. Some convenient variable name changes and code refact for future tool implementations to the palette.