Added more code to the ChatPanel, and implemented ViewEvent skeleton