Improved the event mechanism (more pythonic and usage of *args and **kwargs)
Implemented window property
Rewrote widget focused algorithm