Add type checking for ui_create_dialog
Add type checking for newmenu_listbox
Add type checking for select_file_recursive
Factor out configure functionality
Probe for libphysfs during configure stage
Unify SDL_mixer setup