[Bug 176] Implement an SDL back-end