clean up colorlut code to use Frame8 and RectA structs