Fixed build break

- Added a reference to SDL.h for SDL_ShowMessageBox in FileFunctions.h.
- Added an ifdef for GAME_EXECUTABLE around the check for the UI thread
in Image::Draw().