format statements not used any more
rm unused variables, functions, and the old smits subroutine
proper lengths for character variables