1. -Upgrade beats lib.
2. -Fix some assert and memory leak and crash.
1. -Fix a bug.