Fix recursion bug in config and add tab completion on reloadConfigs