Managed ot get window splitting to work