removed .keys() as slower, empty smart pl fix
More empty list fix, choice of function at launch
removed debugging and progressed version