Attempt at a script to solve active window highlighting.