The ListProject.display() method has deep nesting and very
complicated logic inside. Break it down into separate steps
to make it more readable and allow easier review of its
improvement and changes.
Change-Id: Ic98bd6d6d4ba16ecfbdfccda4a99f4a51b993292