Few improvements in performance.py and making use of returning data, and kill calls when moving away from powerview