palette loading figured out