Fix Typo
Started function get_window_pid, to obtain application pid given a window if available.