Bugs fixes and add KEY_CONTROL_WINDOW_WEIGHT to key move/resize window.