Temporarily cleaned Program.cs files
Added proper mutex to the logger, added support for formatting to logger