8bpp modes fixed: thanks to popcornmix vc_dispmanx_resource_set_palette(). Also, some cleanups.