Added Window Handler - close, maximize and minimize active window