Substitutes $post_id by $post->ID, adds missing quotes for thumbnail in loop.php
Status is now a custom field, fixes that in single view