Fixes #2 (Thread validation error)

Should fix the thread validation error when no editing the post message.
Code optimization
Jump to 1.1