defensive code against nil values and array overruns
added auto layout constraints

known issue:  core data containing duplicate posts