Correct some warnings, retrieve borders, improve list retrieving...

Change-Id: Idd7dfc726a2519b273836342e8eeb9f459f19cf5