Refactored message receiving and added the ColorChooser Panel