[CommandManager] Add stacktrace in case of GUILock queries.