Fixes to error handling and placehold lightboxing.