Tweaks to tableview and animations. Refactor setup code.