Code cleanup.
get_window_pid
Micro commit