Base SDL2.0 program with application loop