fixes to reduce metadata import/usage in SDLSurfaceView