Singleplayer OSX/Linux via SDL2

please check over before accepting pull request!

many changes, most of which are just replacing case or path separators.