Fixing various issues with edges. fixes #2340 #2339 #2330 #2331
Merged all fixes to release branch.
#fixes 2344. Now, when a filename is specified manually when exporting, that filename ends up in the users home directory.