leaveThread

Leaves the thread we're in and resets the state of the messageMode and both of the MessageListStates.