Bug fixes on caching, removing hard-coded (cached) messages (regression bug), remove dependence of securesync on main.