Changed the functions to use 'named' parameters  (objects containing variables so that they may be passed to the function in the form { currentRow: 5}). Changed wrappers to add named parameters, this also has the benefit that wrappers now no longer have to becalled in a certain order. Extracted named paramater creation and adding to separate functions. These functions currently live in the PlayerCodeEditor class but should reside elsewhere.