Fix the thumbnail list counting bug. Add the support of showing decoded picture