Logic for msgClass; Re-add draw code;