Added less logic to handle default document background color and default text color in cases when importing does not define them