Generic Window Handler implementation.