Idiotic bug caused with static variables in PCK and Palette classes.