small styling fixes, and fails thumbnail code