cleaned up list viewer and socket comms