Fixed on game reload and a custom palette was used, it was lost on reset.
Added option to use a custom global palette from Core Options.
Merge pull request #30 from askotx/master

Fixed on game reload and a custom palette was used, it was lost on reset...