use cache for all windows properties, including wm_class, wm_hints and wm_normal_hints
create cache for window attributes
cleanup, fix bug with windows attributes caches