Cleanup
Fixed nullpointerexceptions when colormode is missing