hake and kxcpp updates.
Reverted nonsense width/height divide.
WPF fixes.