Game control for WPF, small various changes