Some irregular video mode support. Other fixes.