1. finish heart beat timeout dialog.
2. finish PLC and audio initial code and automatic sync.
TODO:
1. merge Cao Gong's code to fix message buffer crash issue.
2. and exit in heart beat timeout dialog.
3. test automatic sync and finish all the other parts.