add .htaccess to sketches, fix bug in patch drawing