Added window tab functionality.