cleaned up warnings, removed non-portable bzero from its use as an initializer