Properly catch exceptions in gt::Platform::makeSharedFile.
Various Windows fixes, much better than before, still needs way to delete lock file on exit.
Fix problems caused by removal of using std.