update: prepare sdl2-based interface implementation.