Convert system to use FQL
Fix ID escaping issues with new thread id system