Added PaletteManager class to allow for palette rotations. Modified Palette class to include identifiers.
Modified polyui.html and messed about with various themes to organize the UI a bit more.