made all the displaying into their own functions

also added a sent data bar at the bottom