properly handle invalid statuses
API update
type fixes
Merge branch 'master' of https://github.com/Tox/Toxic into bsdmake