Bug fixes: line highlighting and palette block destruction