fixed #3 adding ability to track views and remove view memory leak potential