Refining the corners checking for un-used files and windows only because on my computer the mac files are useless to me