cleanup from experiments; added comment to click hack focustextfield; fixed previous-directory to go to first image of folder