SDL: Add way to exit cleanly through a message. Warning fix.