add Logger and DebugDialog to show Debug Logs