- Removed some legacy compatibility code from Program.cs as we are not using .NET Framework.
- Changed CurrentDirectory detection method so that Self-Contained .exe can have its configuration files in the same directory as the .exe instead of in the temporary folder.