Related images widgets, lots of bug fixes