small improvements to createList

Originally the branch was for a completely different thing, but as usual I found something else to do... :angel:

These are now just a small bunch of minor tweaks to createList and templates all around.