re-worked CloseApplication() to use TryWriteToLog to reduce the copy-paste of if statements
re-worked CloseApplication() to use TryWriteToLog to reduce the copy-paste of if statements

Willster419/RelhaxModpack,Willster419/RelhaxModpack,Willster419/RelicModManager