Fix UUIDs for multiaccounts, fix null messages