small refactor + paint wpf view