DataSelection: gui: cleanup: Refactored addFileNames() into smaller functions to make it more readable.
DataSelection: Automatically copy data marked as 'prefer_2d' to the user's project file (as long as it isn't too huge).
Fixes #978, at least when using the GUI.  In headless mode, we simply emit a huge warning.