Some setup for passing data between windows, set initial directory of file pickers