Re-wrote the shop list display code