more polishing. sdl.cpp added.