Rewrite video mode setting. Should use bpp now.