Fixed a segfault which odd enough should happen every run but didn't

* main.cpp: Initialize Cyearbytes correctly.
Bump version to 3.1.