remove wayward images, set up messages framework