more comments, cleaned code, fixed map refs

added additional comments to code, tweaked grid layout, removed old
commented code, and fixed map data source references