Add stricter error-checking

In upcoming commits, these errors will be incorporated into the
logging-system, so they don't look so out of place when issued.
tox_is_data_encrypted() was renamed to tox_is_save_encrypted()
We might eventually have logerr() and logwarn()
Fix vertical spacing