Implemented Kamil's suggestions.  Also removed another method that is
now no longer being used (mapListToString)