SDL: remake using SDL2 and common widgets