Un-hardcode some of the paths in the preloader; still have to inject the correct paths in other files.
Inject the "right" external storage dirs thorugh argc/argv.

This probably still has some bugs, but I'll die before eclipse actually does anything useful.