init SDL
add error dialogs