Basic working SDL interface