fix various display bugs
deal more gracefully with memory allocation in colorlut class