partial refactoring of status display...still needs work.