several bug fixes plus add Frames to RGB
merged