Moved SDL utils into new library.