fix colorcube bug where pixels leak into next cube
fix colorpal bug where pixels may leak into next palette
small markup changes to stay in sync with theme css