removed unnecessary const return values, added const to functions that can easily be const, changed iterators to const, and added static to file-only functions