Fixed an issue with SLLogger when debug file did not yet exist. Minor cleanup.