notes and images intersortable
poll for new image
switched maxImageId to maximum image id in table