cleanup and refactoring. Skup FocusProxy wmname