cleaning up the code and adressing (partly?) the issue of windows appearing below terminal on some platforms.
removed the with_app decorator
documented main changes; removed unused 'app=None' keyword argument
BF: almost all windows now go to top

- get_directory_name does not