Refactored ChatMessage out of swing package

Fixed ClientCore trying to log with a swing class's class object