Fixed desync bug due to loadfrommessage twice. Improved logging.