Miscellaneous tidying. Added delete to contact cards.