Replacing atoi with c++11 equivalents.
Preparing to add a sum tab in the qt example.

Signed-off-by: Andrew Maclean <andrew.amaclean@gmail.com>