allow native constructed elements to be passed to $
removing unnecessary warning on removal of window
adding  on new element
remove listeners on removal(), various issue fixes/improvements