Fixed failure to retrieve app icon for display

The get_faded_icon function now needs a second parameter indicating
the fading direction to properly deal with RTL languages. Add it so
the icon can be retrieved successfully.
Reference Issue #19
Avoid error-ing out when shell provides a valid focused app but no window.
Fixes inconsistent indentation
Merge branch 'fix-null-window'