Figured out crash issue, passing private p_debugLog when it wasn't initialized yet.  Need to move the mutex around and not use apped anymore then too.