Update OSImageContext to include ShowInGui and update tests