avoid some crashes with inconsistent data coming from the support library
Help cleaning the memory by removing some references after the widgets is detached from its window
fix some crashes after the SlidingMenu is detached from its window and cleaned