Several changes, beautifying code; Also fixed data returns
Catering POST methods for posting a new thread or editing a post