Fix to work with SDL2

Also add a more user-friendly error message should things die on startup