Working multiwindow solution