GWRMain -- comments from last commit reflect the changes made here