Fixed minor issues

Fixed compiler warnings in gcc.
Fixed chart rendering if no games were played previously.
Merge branch 'master' of https://github.com/mmiermans/solver2048