Eliminated some unnecessary const qualifiers, an added -Wextra.
Update to project.