Some palette importer fixes