system: try to autodetect the data directory from the executable path; currently works for images (SDL and GDI+ loaders) and sound samples.