Fixes on selectwindowform