Log when stock on display is purged

Also move the database query closer to the UI code.