Added idea faye messages and fixed bug in idea thread mode