wow WIN32 sucks. _snprintf does not null terminate on overflow. Assholes.