RGB support and minor issue with log fixed