Adding a robustness change to call close on logger before process exit. Also adding a designer.cs file needed by a script csproj that got missed out in previous checkin due to .gitignore entry.